package cn.ilikes.tools.nosql.jpa.configs;

import java.net.URL;
import java.util.List;

import javax.persistence.SharedCacheMode;
import javax.persistence.ValidationMode;
import javax.persistence.spi.ClassTransformer;
import javax.sql.DataSource;

import cn.ilikes.tools.nosql.jpa.JPASQLRunTimeException;

public class PersistenceUnitBase {

	public void addTransformer(ClassTransformer arg0) {
		throw new JPASQLRunTimeException("this work not run ");

	}

	public boolean excludeUnlistedClasses() {
		throw new JPASQLRunTimeException("this work not run ");
	}

	public ClassLoader getClassLoader() {
		throw new JPASQLRunTimeException("this work not run ");
	}

	public List<URL> getJarFileUrls() {
		throw new JPASQLRunTimeException("this work not run ");
	}

	public DataSource getJtaDataSource() {

		throw new JPASQLRunTimeException("this work not run ");
	}

	public List<String> getManagedClassNames() {

		throw new JPASQLRunTimeException("this work not run ");
	}

	public List<String> getMappingFileNames() {

		throw new JPASQLRunTimeException("this work not run ");
	}

	public ClassLoader getNewTempClassLoader() {

		throw new JPASQLRunTimeException("this work not run ");
	}

	public DataSource getNonJtaDataSource() {
		throw new JPASQLRunTimeException("this work not run ");
	}

	public String getPersistenceProviderClassName() {

		throw new JPASQLRunTimeException("this work not run ");
	}

	public URL getPersistenceUnitRootUrl() {

		throw new JPASQLRunTimeException("this work not run ");
	}

	public String getPersistenceXMLSchemaVersion() {

		throw new JPASQLRunTimeException("this work not run ");
	}

	public SharedCacheMode getSharedCacheMode() {

		throw new JPASQLRunTimeException("this work not run ");
	}

	public ValidationMode getValidationMode() {

		throw new JPASQLRunTimeException("this work not run ");
	}

}
